Do not use the Cursor if it is closed.

Fixes http://b/issue?id=2307930
1 file changed