We should reset WriteBatch after we write them

Horrible things might happen otherwise. These things are really hard to
explain, too.