testing join of detached thread