public void setPauseOnEarlyTerminationMillis(long pauseOnEarlyTerminationMillis) {
        this.pauseOnEarlyTerminationMillis = pauseOnEarlyTerminationMillis;
    }
If there is an early termination via an interrupt or too many timed out consumers
or because a consumer or other Runnable threw a Throwable, pause this long
before interrupting the consumers and other threads.
<p>
Typically makes sense for this to be the same or slightly larger than
timeoutThresholdMillis

@param pauseOnEarlyTerminationMillis how long to pause if there is an early termination
tika-batch/src/main/java/org/apache/tika/batch/BatchProcess.java