prevent restarting gc during atexit