Make sure concurrent reads and writes in different goroutines don't interfere with one another.