docs: public synchronized void stop() {
          if (isRunning()) {
              try {
                  setSendingStatus(false);
              } catch (Throwable t) {
                  logger.error("Problem stopping sending status during shutdown", t);
              }
              DeviceFinder.getInstance().removeIgnoredAddress(socket.get().getLocalAddress());
              socket.get().close();
              socket.set(null);
              broadcastAddress.set(null);
              updates.clear();
              setTempoMaster(null);
              setDeviceNumber((byte)0);  // Set up for self-assignment if restarted.
              deliverLifecycleAnnouncement(logger, false);
          }
      }