AS-397 Remove metadata when detaching servers

This is so cool :)