App should terminate after launching

Previous commit was a mistake.