Parameters
- forced
- Determines whether to start the operation immediately, or after the timeout.
Pools are automatically cleared if a connection is idle for some time or closed by the server. Call the ClearAllPools method to force explicit pools clearance.
Note: if forced=false, this function is equivalent to ClearAllPools.
If there are many opened connections, immediate pool clearing can cause high server load, so it is recommended to use forced = false.