Ensure that all cursors are closed properly