Added pipeline cancellation feature for SLURM. Not yet tested as I have real pipelines running..