collector: Fixed deletion of canceled jobs