Stop work when the user becomes idle.