AS-397 Remove metadata when detaching servers

I briefly considered creating some metadata for this particular server, and then just removing that. However, that would be brittle: it would break if we ever remove a metadata key.