Introduce clear_cached_kids_on_disconnect

An implementation of a workaround for my complaint in #39.