Explain `flushWrites`