do return when http request failed