close

fun close()

Close any connected chat web sockets.

After close() is called, only usage of Chat.events is allowed.

The state is moved to Prepared.