Assuming that you are talking about the V3 adapter code…
Each msg handler has a ‘minimum number of connections’ property, which defaults to 1. Any value greater than zero causes the adapter to maintain that number of active connections at all times. This eliminates the cost of constantly opening/closing connections, but it carries the cost of having one or more active connections at all times. This can be eliminated by setting the value of this property to zero.
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards