Revert "Remove explicit flush, 2x performance gain."

This reverts commit 460a2d81500c324ea157cde90777a49da606ea75.
Revert "Fixes #1."

This reverts commit e93b5fd16c2d82ca8de6ac48981c81619b4ee143.