When a client disconnects from an Adaptive Server, the state of the connection is evaluated to determine whether to cache the connection. OpenSwitch does not cache these connections:
Connections with an open transaction
Connections not established due to login failure
Connections with Open Client-side cursors
Connections where the maximum number of cache threads is reached, as specified by CACHE_THREAD option in the [CONFIG] section of the OpenSwitch configuration file
In all of these states, restoring the connection to a user would place the user’s application in an uncertain state. To avoid this risk, OpenSwitch discards these connections when the client exits.