dns: fix error cleanup in kill_existing()