Changed multiprocessing.Queue with multiprocessing.JoinableQueue