Implemented QUIT command