[bugfix] xsocket fd maybe 0