Fix crash in SocketEventHandler::OnDisconnect().

Signed-off-by: Y.Moon <chglove@live.cn>