title: axios retry with timeout
body: <p>I have a use case where i need to retry Axios POST requests in case of API timeout while trying to POST the request. I need to retry 3 times in case of API timeout and each retry request should timeout in 4 secs if the POST operation cant be completed in that period. I am using the below code but neither the retry or the timeout seems to work. Could you let me know what is wrong and the correct code snippet for this?</p>
  
  <pre><code>axiosRetry(axios, { retries: 3 });
  axios.post(url,payload,{headers:header},{timeout:4000})
  </code></pre>