detached threads are not yet supported, but this allows implementation to make sure threads are joinable.