HRCPP-79: Calling ConnectionPool::borrowObject holding TcpTansportFactory::lock causes deadlock