Added child counter and waiting of child