Rework logic for stopAll in Workers