Un-registering only once