Make retryable_task retry the actual task object, rather than trying to call .retry on the wrapped function.