Fixed loop for DHCP server restart