minor refactoring for ConnectionPoolImpl
refactoring of exceptions rethrowing