This method should also remove the instance from the client's registrations list.