join the thread at the end to go back to the menu