add atexit example.