retry timeout errors when cli makes http requests
raise an error if public/elastic ip cannot be discovered