netlink-notifier: Exit loop if nl_sock_recv() returns an error