Implemented onQuit to DefaultChatHandler.