Returning correct status when cancelling pipeline. #998
Merge branch 'master' of https://github.com/mff-uk/ODCS