ResultHandler r = new ResultHandler(cps);
for (Entry<String,Closure> e : parallelStep.closures.entrySet()) {
BodyExecution body = cps.invokeBodyLater(
t.getGroup().export(e.getValue()),
Collections.singletonList(new ParallelLabelAction(e.getKey()))
);
body.addCallback(r.callbackFor(e.getKey()));
bodies.add(body);
}