ensure xkeys are unique and serialize app installs after starting simulator to avoid race conditions