don't create isolate on idle thread
add thread refcount, destroy threads with refcount 0
add thread termination reason debug message