Expose flush_all fixes #5