fix differences between Queue.Queue and multiprocessing.Queue