AS-397 Remove metadata when detaching servers

It will be good to wait until the metadata is scrubbed