Added code to restart dhcp and the network