Set a Timeout based on signals, which are more reliable than Timeout. Timeout is based on green threads.
Matt Freels, Petrica Ghiurca
gem "RubyTrie", "~> 1.0"