AS-397 Remove metadata when detaching servers

Yes. I've thought about that too. Will be nice to do it but its ok for now.