fixed a possible NullReferenceException when check there is any data to be sent during the socket is being closed
fixed a possible NullReferenceException when check there is any data to be sent during the socket is being closed

kerryjiang/SuperSocket,memleaks/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket,kerryjiang/SuperSocket