make simpleConnectionPool concurrency safe