retry all chef api calls with configurable attempts and interval