Adding inactivity restarts for workers