Update job stats and status correctly when a job is destroyed