Make sure to close cursor

Change-Id: I4f91e6c482c2ed316c85ff500a96cd1c42f6c7ca
1 file changed