Cursor.Close should not return an error