Pass the multiprocessing context explicitly to the custom queues