Write our own waitForMyDevice