init: optimize the dhcp wait time to avoid waiting for nothing