use rb_thread_call_without_gvl for Ruby 2+