rb_thread_select is deprecated

rb_thread_select to be removed in 2.2.0