docs: public void stop() {
          try {
              lock.lock();
              super.stop();
  
              if (working.compareAndSet(true, false)) {
                  stopDetecting();
              }
          } finally {
              lock.unlock();
          }
  
      }