Merge "Release resources for a previously loaded cursor if a new one comes in."