improved afterTask processing, no need to revert when non-release task fails