Stop the app with a trigger file, not with a keypress.