added ability to pause / resume current task