do not allow deletion of last endpoint