Replaced Threads by Multiprocessing for workers to optimize performance