Marking the state table row as failed when MapReduce failes. It was previously always getting marked as finished before.