restore curlwp upon return from dhcp