make threads only join on their children
don't get stuck in an endless loop