exception safe connection pool