retry dump hierarchy if dump.xml wasn't created

dump hierarchy sometimes succeeds but doesn't create a dump.xml file (usually during ui transitions).