join dead threads
refcount needs init to 0
dont join a thread twice
ref the termEvent so it doesnt get GC'd