stack_trace: do not stacktrace on explicit exit