Fixed a bug where the QUIT command did not terminate the connection on
the server side.