All looks good except this line. Is this freeing the parser inside a loop?