Timed support for flushBuffer
 - Fixes #20