network: Fix sending HUP signal to dnsmasq

We have to use 'kill' command line manually (via sudo/rootwrap) and not the
os.kill() due to permission issue (dnsmasq is run as nobody and just sending
the signal from our process does not get through).