Fixed waiting for child and zombies