Fixed race condition by creating a new parser for each cv fold. More refactoring. No more warnings :)