close #3701, fix #3896: temp `ref` child for kill