close
Close any connected chat web sockets.
After close() is called, only usage of Chat.events is allowed.
The state is moved to Prepared. The session has ended — the next connect call transparently rebuilds the Chat instance (notifying Listener.onChatChanged), because the session-scoped handler graph of a closed instance cannot be revived.