Always remove a node from the UDP tree before freeing it.