Bug 919412 - Wait emulator cmd finished in tear down stage. r=hsinyi