don't crash when an http request fails