AS-397 Remove metadata when detaching servers

Nice name :)