fixing dhclient and setTimeout errors