Clean up stats-related log observers at the end of the stats tests
so that global state is the same before and after those tests and
to avoid keeping a ton of extra data in memory for the entire test
suite run.