docs: protected void stopJobAcquisitionThread() {
      if (asyncJobAcquisitionThread != null) {
        try {
          asyncJobAcquisitionThread.join();
        } catch (InterruptedException e) {
          log.warn("Interrupted while waiting for the async job acquisition thread to terminate", e);
        }
        asyncJobAcquisitionThread = null;
      }
    }