docs: public boolean isRunning() {
      lock.lock();
      try {
        return process != null && process.isRunning();
      } catch (IllegalThreadStateException e) {
        return true;
      } finally {
        lock.unlock();
      }
    }