when acting as wsgi, dont do atexit