Set the socket.setTcpNoDelay(true);