log closed socket by the server