Fixed CancelRun from causing pipeline exceptions