Well, you just gave the solution above, but said that it looks horrible. I don't think there is anything else to debug -- the current impl relies on one more pump cycle, but since there is no external trigger to start it, you added transformer.isComplete.