pub fn unregister_instance(name: &str) -> Result<(), InstanceError>
Remove an instance from the registry.