disconnect after delete.