switch from threading to multiprocessing to allow change of niceness