NY9868: [AN]: Use try and finally to protect the cursorFeatures at DbHelper
Created by: rvc-brickabode
From our internal process of review:
We have found related issues in the community where the problem is an effect of not closing cursors. So we are proposing to use a try {} finally {} to always make sure that an opened cursor is closed. We took the opportunity to apply the fix all places in DBHelper where that conditions can happens.