persist error segments
handle save/restore in-progress segment
ensure save/restore in-progress segment uses last