Do not close cursor that is still in use
Merge pull request #29 from janxbar/master

Do not close cursors that are still in use