changing the cancel job status properly.