networkd: make sure Links and Networks are freed