return app promise from startup