feat(use multiple cores in headless mode)