Implement retry for config API requests