While playing around I discovered that \ior_close_N is not actually defined. The TeXhackers note tells me what to do :-)