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