Bug squashing in connection pool
More connection pool bug squashing
Safely release connections during and after pool stops
More connection pool bug squashing