fix bug 1052891: part 1 - update pending/running on job cancel