Fix cursor is not closed properly issue

Cursor should be closed properly, or CloseGuard will report
exception when GC happen if StrictMode is enabled.

Change-Id: Iddccdf39068f7e34cc66a6d678b457bf3b5826bd
CRs-Fixed: 1039281
1 file changed