Made PipelineJob to use ProgressManager instead of a variable to tell
whether it's been cancelled.