worker stop running only at end