add threads for parsing, catch parsing errors