Close the transport
@override Future<void> close() async { _stopHeartbeat(); _stopReconnect(); if (_channel != null) { await _channel!.sink.close(); _channel = null; } await super.close(); }