Added the ability to interrupt tasks that are currently running.