Ruby Standard Library - timeout