wait for child treads, closes #114