Close cursor after creating fake object