I have a creating a connectionManager for the pool as this -->>
public static PoolingHttpClientConnectionManager getCm() { return cm; }