fix uninitialized warning
change rb_thread_select to rb_thread_fd_select because rb_thread_select is deprecated