Check for ERROR state, not PENDING state when rerunning, sigh, bad me.