franky adds function isjoinable and makes the destructor use the functions instead of calling direct on the thread