require 'timeout' inside ruby_block