close connexion to TCP Server