Change thread number from 5 to 8
Change threading to multiprocessing