do SDL_Quit in atexit handler