joinable() from thread