properly cleanup disposed children