public boolean isUserInterrupted() {
        return userInterrupted;
    }
This relies on an special exit values of 254 (do not restart),
0 ended correctly, 253 ended with exception (do restart)
tika-batch/src/main/java/org/apache/tika/batch/BatchProcessDriverCLI.java