Closes the connection
@override Future<void> close() async { await _stream.close(); // Notify the transport to remove this connection from tracking _onClose?.call(); }