public override void CloseConnection()
        {
            if (closed)
            {
                return;
            }

            closed = true;
            this.EnsureHeadersSent();
            transport.EndRequest(requestId, requestNumber, 0);
        }
 public virtual void CompleteResponse()
 {
     transport.EndRequest(requestId, requestNumber, 0);
 }