Start an asynchronous flush.
template< typename WriteHandler> void async_flush( WriteHandler handler);