Prune failed delayed jobs periodically

[#73904862]

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>