Wait while loading application.