am cb842753: Merge "Closing cursor in finalizer to avoid GREF and fd leak in acore"

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