Ah, so the tasks don't really change, it's just renaming? How about reverting the rename then, instead of changing stable? And save the effort for the time when there's a real break in the storage format.
And in either case I would suggest a graphical error message with a way to Cancel or Clear all tasks. This would also help if files are corrupted for whatever reason.