wait until app is available