Made sure the QUIT command closes the connection.