Usage scenario is happening after SQLEXPECTION, judge the cursor have opened, if already open, close the cursor release resources,
Without judgment directly close the cursor sometimes error cursor is not open;
Don't close the cursor whether there is the risk of a memory leak?