A custom implementation of a connection pool