Fix: libcib: avoid use-after-free when deleting CIB connection
360cf350 ironically introduced one use-after-free while fixing another