Ruby Standard Library - threads_wait