Check if the job was cancelled