Clean up the definition of the idle task.