Closed-loop control of systems over a communications network with queues | Synapse