stats: don't do I/O on exit

Its not allowed to delay exit to do I/O by node, if we are exiting, just
throw away any data we've accumulated, it doesn't matter.