grn_ctx_fin should not be called here