close

suspend fun close()

Synchronously/Suspendably closes the session and tears down resources. Safe to call multiple times (idempotent). Teardown itself is non-cancellable.