Clean up QUIT command