Switch to a connection pool to support concurrency