How does twisted shut things down and recover resources when implementing a reverse-proxy. If one or another of the endpoints dies, I would expect there to be some shutdown code to close open sockets, etc. but I don't seem to be able to find it. Can someone assist?