[GDB] UDP clean up and add netdev refcnt