Remove global runningWorkers variable