Making sure we deliver the last valid xml after restart