cluster: STABLE31 - rgmanager: Fix reference count handling