retry on HTTP 50X Error when calling Chef REST API