Improve status checking in dhclient service script