Unfortunately, the debug output from the TypedPipe could come sometime after the println. Not sure how to improve that though.