code: @Override
  	protected void disconnect() {
  
  		// Stop thread
  		super.disconnect();
  
  		// Stop broadcast receiver
  		if (broadcastReceiver != null) {
  			try {
  				broadcastReceiver.close();
  			} catch (Exception ignored) {
  			}
  			broadcastReceiver = null;
  			logger.info("Broadcast discovery service stopped on udp://" + udpAddress + ':' + udpPort + '.');
  		}
  	}
docs: --- DISCONNECT ---