code: @Override
      public int waitForExitMaxMs(long maxWaitUntilReturning) throws ManagedProcessException {
          logger.info("Thread is now going to wait max. {}ms for process to terminate itself: {}",
                  maxWaitUntilReturning, getProcLongName());
          return waitForExitMaxMsWithoutLog(maxWaitUntilReturning);
      }
docs: Like {@link #waitForExit()}, but waits max. maxWaitUntilReturning, then returns (even if
  still running, taking no action).
  
  @param maxWaitUntilReturning Time to wait
  @return exit value, or INVALID_EXITVALUE if the timeout was reached, or if {@link #destroy()}
  was used
  @throws ManagedProcessException see above