anchor.diff:    bool _starting = false;
     bool _started = false;
     final List<RawDatagramSocket> _sockets = <RawDatagramSocket>[];
  +  final List<RawDatagramSocket> _toBeClosed = <RawDatagramSocket>[];
     final LookupResolver _resolver = LookupResolver();
     final ResourceRecordCache _cache = ResourceRecordCache();
     final RawDatagramSocketFactory _rawDatagramSocketFactory;
  
positive.code:     // Can't send to IPv6 any address.
      if (incoming.address != InternetAddress.anyIPv6) {
        _sockets.add(incoming);
      }
  
      _mDnsAddress ??= incoming.address.type == InternetAddressType.IPv4
  
negative.code:     for (final RawDatagramSocket socket in _sockets) {
        socket.close();
      }
      _sockets.clear();
  
      for (final RawDatagramSocket socket in _toBeClosed) {
        socket.close();
      }
      _toBeClosed.clear();
  
      _resolver.clearPendingRequests();
  
  