1 2 3
if (helperThreadCount() === 0) quit(); evalInWorker("setInterruptCallback(function() {}); timeout(1000);");