First complete ConnectionPool class