close the request from responder side and also notify the requester
Source
void close([DSError err = null]) {
  _sentStreamStatus = StreamStatus.closed;
  responder.closeResponse(rid, error: err, response: this);
}
    close the request from responder side and also notify the requester
void close([DSError err = null]) {
  _sentStreamStatus = StreamStatus.closed;
  responder.closeResponse(rid, error: err, response: this);
}