only retry 5xx errors, not 4xx