Working dual queue multiprocessing.