close refcursor