[urcd] update for sock_close()