Use tamer::destroy_guard instead of tamer::exit_at_destroy.