Fix for Issue #22, Failure block not being called when cancelled