Remove duplication for marking a job as cancelled
Remove duplication for marking a job as cancelled

henrikhodne-abandoned/worker,Acidburn0zzz/worker,henrikhodne-abandoned/worker,Acidburn0zzz/worker,Acidburn0zzz/worker,solarce/worker,travis-ci/worker,henrikhodne-abandoned/worker,solarce/worker,solarce/worker,travis-ci/worker,travis-ci/worker