@override Future<void> close() async { try { if (_socket != null) { await _socket?.sink.close(); } } catch (_) {} _socket = null; }