Make sure there are pending writes to process