Wait for adb port to be available before starting

Which means a unit test is in order :P