fail build task if http requests are not successful