finish up tcp chat