obey maxRetries when NextAction.retryAfter(...) is used