def deliver_response(response, pending_request)
      @request_stats.finish(pending_request.receive_time, response.token)

      @pending_requests.delete(response.token) if pending_request.kind == :send_request
      if (parent_token = pending_request.retry_parent_token)
        @pending_requests.reject! { |k, v| k == parent_token || v.retry_parent_token == parent_token }
      end

      pending_request.response_handler.call(response) if pending_request.response_handler
      true
    end
def deliver_response(response, pending_request)
      @request_stats.finish(pending_request.receive_time, response.token)

      @pending_requests.delete(response.token) if pending_request.kind == :send_request
      if (parent_token = pending_request.retry_parent_token)
        @pending_requests.reject! { |k, v| k == parent_token || v.retry_parent_token == parent_token }
      end

      pending_request.response_handler.call(response) if pending_request.response_handler
      true
    end
Deliver the response and remove associated non-push requests from pending
 including all associated retry requests

 === Parameters
 response(Result):: Packet received as result of request
 pending_request(Hash):: Associated pending request

 === Return
 true:: Always return true