Retry on bad http response