fixes #6 Make the parent wait til child.