halt cpu when no task is running