Fixed disconnecting connection from client