Retry when hostname cannot be reached.