stop

suspend fun stop()

Stops the session: ends any running turn, asks the server to cancel the active task (best effort) and rejects further messages. Safe to call more than once.