waiting for resultxml file is optional