Managing network availability when loading XML file to DB