add the missing "close()" method on cursor