widget: Reap only when a child is present

https://bugzilla.gnome.org/show_bug.cgi?id=740929