Fix transform returns wrong failed future, when successful function throws