Clear cache when unregistering from things
Do unregistration processing before deleting the registration record