Exception handling additions made to long running tasks