Fixed issue in join_children and removed extraneous sleep