Fixed _exit() - Should work with multiple threads.