Delete Thread::end_main_thread()