change as_failure to maybe_failure for simmetry with maybe_async. More docs and better twisted integration