revert to original thread_alive

but still have the other features defined in thread.c/h, just unused...