quit if slurm says the job is cancelled