Flush stdout to avoid getting buffered results.
Merge pull request #80 from bchatelard/master

Flush stdout to avoid getting buffered results.