wait for the app to do it's thing