JRuby

Errno::EBADF is sometimes raised instead of IOError when TCPSocket#readline is called after TCPSocket#close