system-linux: fix race condition in netlink socket error handing