launchAndKill gets passed a condition function, instead of a timeout. pa...

...rt of Fix for appium/2612
where is `condition` defined?