free memory in node-crf