Exit when there is an error fetching the IP