Don't flush while the dec loop is working.
Merge pull request #10 from goldenbrown/master

Don't flush while the dec loop is working.