* commit '43194ce05eef26665572fb248a108fd24d247a8f': Closing cursor in finalizer to avoid GREF and fd leak in acore