title: Retry an async function if the error is retryable
body: <p>How can I change my logic to retry if the err.retryable = true in the following code:</p>
  
  <pre><code>async.each(queues, function (queue, callback) {
      sqs.getQueueUrl({'QueueName': queue.queue}, function (err, qurl) {
          if (err) {
              if (err.retryable) {
                  // How to retry  sqs.getQueueUrl({'QueueName': queue.queue}...?
              } else {
                  console.error(err, err.stack);
                  callback(err);
              }
          }else{
              //Do lots of things here
          }        
  
      })
  }, function (err) {
      //...
  })
  </code></pre>