Merge "Check if cursor is closed for staleDataException" into rvc-qpr-dev