BZ1071908 - REST jobs are never completed
(cherry picked from commit f73dd852bcb473fde90ad36af5a5587d7c2bc242)