Support die() in x_new_thread()