Flush stdout to inform buildbot that it is not hang.

pls do not merge