Fix GC of failed jobs.

Change-Id: I9961fbf388343ffe7a0fcee84e37dbab337ab2a8
Fix job progress status indication.

Change-Id: I3ab77148e1d7cfc6dac2002792db4e58b9f70c2d