> ----------------------------------------
> Bug #4558: TestSocket#test_closed_read fails after r31230
> http://redmine.ruby-lang.org/issues/4558

I think current rb_io_close() is broken. We have to call rb_thread_fd_close()
before releasing GVL.

Eric, Am I missing something?