end application is used in conjunction with restart application in order to avoid restarting when manually creating a crash report.