def close_http_client(reason)
      @http_client.close(reason) if @http_client
      true
    rescue StandardError => e
      ErrorTracker.log(self, "Failed closing connection", e)
      false
    end
def close_http_client(reason)
      @http_client.close(reason) if @http_client
      true
    rescue StandardError => e
      ErrorTracker.log(self, "Failed closing connection", e)
      false
    end
Close HTTP client persistent connections

 @param [String] reason for closing

 @return [Boolean] false if failed, otherwise true