Fix destruction on disown