Release 0.3.1
Add more flushes, just to be sure