add debug infomation for socket fd operation

change a defination which may cause crash
free client when queue is full