Clean up stats module when it's done