pthread_join() no longer spins