add method to clean out all device entries in the ctid.conf file when the last device is to be removed