select issue on socket fd