code: private ClientConnectionManager getConnectionManager() {
          synchronized (this.getClass()) {
              if (sharedCM == null) {
                  PoolingClientConnectionManager cm = new PoolingClientConnectionManager();
                  cm.setMaxTotal(maxConnections);
                  cm.setDefaultMaxPerRoute(maxConnections);
                  sharedCM = cm;
              }
              return sharedCM;
          }
      }
docs: Get a connection manager to use for this connection.
  <p>
  Called late in initialization.
  <p>
  Default implementation uses a shared PoolingClientConnectionManager.
  
  @return The connection manager to use.