add /quit command and also deal with disconnection by force