How can I decide what threads to join if I don't know what they are???