these comments seem out of place. Flushing the output stream is different than SYNC_FLUSH