TS-2578 Close the client connection when you close TransformTerminus