[feature] release xsocket fd when socket has no any references