title: run response interceptor only once when multiple API calls
body: <p>I have an interceptor like this</p>
  
  <pre><code>axios.interceptors.response.use(undefined, err=&gt; {
      const error = err.response;
      console.log(error);
      if (error.status===401 &amp;&amp; error.config &amp;&amp; !error.config.__isRetryRequest) {
          return axios.post(Config.oauthUrl + '/token', 'grant_type=refresh_token&amp;refresh_token='+refreshToken,
              { headers: {
            'Authorization': 'Basic ' + btoa(Config.clientId + ':' + Config.clientSecret),
            'Content-Type': 'application/x-www-form-urlencoded,charset=UTF-8'
           }
         })
          .then(response =&gt; {
            saveTokens(response.data)
            error.config.__isRetryRequest = true;
            return axios(error.config)
          })
        } 
    })
  </code></pre>
  
  <p>And everything is working, but if I have like in my case 4 API calls on one React Component, and this error happens the same code will be run 4 times, meaning 4 times I will send my refresh token and get the auth token,  and I would want to run it only once obviously</p>