docs: @Override
    public void terminate() {
      // disable ability to request for restart
      restartRequested.set(false);
      restartDisabled.set(true);
  
      if (nodeLifecycle.tryToMoveTo(NodeLifecycle.State.STOPPING)) {
        LOG.info("Stopping SonarQube");
      }
      stopAll();
      if (stopperThread != null) {
        stopperThread.interrupt();
      }
      if (restarterThread != null) {
        restarterThread.interrupt();
      }
      keepAlive.countDown();
    }