Throws TimeOutException if app will not launch Workaround: function tries to launch application twice. Created for this issue #2615