Safer reading from control queues

Producers and Workers have more robust error handling when reading
from their respective control queues.