Fixes for TwoStateFanoutExample

@jodzga Wait until the entire plan has run to print the tracing results.