* commit '4e53edf7ea8f8158a123a451530146f23e3fed81': Before requerying a cursor, check if it is closed.