Fix jruby tcpsocket blocking