Fix error when closing and retrying transSslServer

Currently we can hit a case where `server.close()` is called, but `server` is never defined. Looks like we want `transSslServer.close`.