thread-local abort_on_exception