How to join threads app?