@Override
        public TimeoutFutureResult call() throws Exception {
            while (timedOuts.size() == 0) {
                try {
                    Thread.sleep(timeoutCheckPulseMillis);
                } catch (InterruptedException e) {
                    LOG.debug("Thread interrupted exception in TimeoutChecker");
                    break;
                    //just stop.
                }
                checkForTimedOutConsumers();
                if (countActiveConsumers() == 0) {
                    LOG.info("No activeConsumers in TimeoutChecker");
                    break;
                }
            }
            LOG.debug("TimeoutChecker quitting: {}", timedOuts.size());
            return new TimeoutFutureResult(timedOuts.size());
        }
The maximum amount of time that this process can be alive.  To avoid
memory leaks, it is sometimes beneficial to shutdown (and restart) the
process periodically.
<p/>
If the value is &lt; 0, the process will run until completion, interruption or exception.

@param maxAliveTimeSeconds maximum amount of time in seconds to remain alive
tika-batch/src/main/java/org/apache/tika/batch/BatchProcess.java