ConnectionPool: fixed incorrect throw