dont show exception dialog if is terminating