Don't use an atexit hook to print state.