Added better printf to persistent tcp