Disconnect method
Implementation
Future<void> Disconnect() async {
await _lockObject.synchronized(() async {
_request?.Abort();
_response.Close();
await DisconnectWithReason(
HangingRequestDisconnectReason.UserInitiated,
null,
);
});
}