Why does the kernel hang with this use of netlink sockets?