Don't attempt to close Cursor that is already closed
imports
Merge pull request #40 from futuresimple/do_not_attempt_to_close_closed_cursor

Do not attempt to close closed cursor