Add ruby-1.9 timeout at thread level