SqlConnection.ClearAllPools, what is cleared?
It closes all the connections opened by the calling process only. It empties all the connection pools which are bound to the process. Quote:
Connection pool and connection string go hand in hand. Every connection pool is associated with a distinct connection string and that too, it is specific to the application. In turn, what it means is – a separate connection pool is maintained for every distinct process, app domain and connection string.