Launch application before killing it to avoid CSP errors