Added cancel functionality to packloadjob