Name_Server now closes the socket, name_client now handles socket closing correctly