Setting flushData.done to true when the its the last data.
Version 0.0.36