parent waits for child