Why do we need to delete conn_elems if the whole element is deleted after this for-loop?