better http request error handling