change 'shutting down' to 'unregistering'