update todo
fix bug of Not clean exit, caused by call socket.peerAddress().toString() of a invalid socket ref