catch errors within valid http response

even if there is no error trying to talk to a provider,
there could have been an error in starting the actuall resource that
needs to be handled
provider wait(2s) before verifying gateway is up