Is there a more deterministic way to wait until ADB is started up? No matter how much time we give it, someone will have a machine on which it takes longer than we think. For example, the machines in Mozilla's continuous integration process are often slow and underpowered, and even my speedy machine can take an awfully long time to run tests when it is overloaded by other work (like B2G compilations happening in four discrete VMs simultaneously).