fix(durablejobs): preserve job state across retries (#10349)