Fix. detach joined thread.
Fix. try use child Lua state in join for detached thread.