Fix jruby tcpsocket blocking

:construction:

Still puzzling out how best to test this.