Fix check error: do not use more than 2 cores in examples and vignettes