public DefaultHttpClient getHttpClient(Integer socketTimeout) {
            if (client == null) {
                synchronized (this) {
                    this.createClientWithPool(socketTimeout);
                }
            }
            return client;
        }