Stops the current task.
Warning: Stopping a task before it has completed can cause unpredictable results.