AS-397 Remove metadata when detaching servers

Re: that bug, do we ever use a version of Twisted where that bug hasn't been fixed? I'll change it regardless.