Retry hostname lookup

There appears to be race conditions on hostname lookup
inside of the network namespace with NetworkManager -
try multiple times to get the host IP over several
seconds