Implement closing/finalizing of registration.