private void checkForTimedOutConsumers() {
            for (FileResourceConsumer consumer : consumersManager.getConsumers()) {
                FileStarted fs = consumer.checkForTimedOutMillis(timeoutThresholdMillis);
                if (fs != null) {
                    timedOuts.add(fs);
                }
            }
        }
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