Update tasks.rst

I don't think after_return is called when the task fails, I think that is on_failure.  I might be wrong, don't merge this unless you know if this is correct.