public void setLimits(int maxConPerRoute, int maxConTotal) {
        this.maxConnPerRoute = maxConPerRoute;
        this.maxConnTotal = maxConTotal;
        if ( asyncHttpClient != null ) {
            try {
                asyncHttpClient.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
            asyncHttpClient = null;
        }
    }
public void setLimits ( int maxConPerRoute , int maxConTotal ) { this . maxConnPerRoute = maxConPerRoute ; this . maxConnTotal = maxConTotal ; if ( asyncHttpClient != null ) { try { asyncHttpClient . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } asyncHttpClient = null ; } }
overwrite static limits, WARNING: careful when accessing the singleton

@param maxConPerRoute
@param maxConTotal