fix: should use sentry_unregister if event is the one-shot event.