clean up for teat meshy client connector;
logic change to call terminate on connector