closeAndAwait

abstract suspend fun closeAndAwait(): Result<Unit>(source)

Closes the session and waits for firmware resources and its process lease to be released.