Fixed nt_atexit