closeQuietly

Closes cursor if it is not null or is not closed already

Parameters

cursor

Cursor to close