prevent restarting gc during atexit
Merge pull request #516 from minrk/atexit-gc

prevent restarting gc during atexit