Close cursor consequently
Used Keywordutil for some operations.