bail out if no pending writes, and avoid logging anything.