docs: private boolean possiblyPause() throws InterruptedException
    {
      pauseLock.lockInterruptibly();
      try {
        if (pauseRequested) {
          status = Status.PAUSED;
          hasPaused.signalAll();
  
          while (pauseRequested) {
            log.info("Pausing ingestion until resumed");
            shouldResume.await();
          }
  
          status = Status.READING;
          shouldResume.signalAll();
          log.info("Ingestion loop resumed");
          return true;
        }
      }
      finally {
        pauseLock.unlock();
      }
  
      return false;
    }