Use Dataflow.Complete() instead of old style Dataflow.InputBlock.Complete()
Add another demo for a SO question.