fix: should remove unregistered sentry.
change: sentry register/unregister logics should be on the loop api.