tcp listen socket bug