Problem editing and loading simultaneous xml

hey I have a question. I’m working on a project that looks at an xml sheet at a setInterval. What I found out though is if I edit the xml sheet and click save at the exact moment the flash clip is loading the sheet, I’ll get an error in the saving saying that something is using the file and it can’t do anything to it. Is there anything that can be done about this on the flash side?

Basically I’ll have a program creating an xml sheet with data such as temperature which will refresh every so often. Then I have the flash player reading that xml. I don’t want the program to error when creating the xml sheet.