no more valgrind error in Socket Error