title: Run function after task retry limit reached google app engine
body: <p>I have the code like below:</p>
  
  <pre><code>Queue queue = QueueFactory.getDefaultQueue();
  queue.add(TaskOptions.Builder.withRetryOptions(
                       RetryOptions.Builder
                               .withTaskRetryLimit(0)));
  </code></pre>
  
  <p>With this code the task will not retry if not an error. However, what I want to do is run another function call onRetryFailure() when 10 minutes have passed( the maximum time before retry). Any idea how i can do so?</p>