multiprocessing doesn't worked, switch to threading