Auto-terminate potentially long-running operations in Ruby.

WWW: https://github.com/ruby/timeout
