close
Closes this host on its owner thread.
Close is idempotent after completion and preserves the core session's exact cleanup failure behavior.
Throws
when called from the wrong thread or from another active operation; recursive close from close cleanup is a no-op.
when cleanup fails; the exact first failure remains primary with later distinct failures suppressed.