exit when child has exited, not earlier (mh)