Ensure --app switch does not halt upcoming ones, closes #1398