Connection status during the release process

Before and during the release process, the connection can be in Acquired, Freeing or Released state.

Acquired
Sessions are acquired; the sessions can be allocated to transactions.
Freeing
Release of the connection has been requested and is in progress.
Released
All sessions are released.

If you have control over both ends of the connection, or if your partner is unlikely to issue commands that conflict with yours, you can release the connection to quiesce activity on the connection. When the connection is in Released state, you can set the connection out-of-service to prevent any attempt by the partner to reacquire the connection.