Setting killed jobs to failed.

Instead of setting to inactive, it may be safer to mark them failed and then retry.