fn control_loop( conn: Connection, queue: EventQueue<CtrlState>, state: CtrlState, ctrl_rx: Receiver<CtrlMsg>, wake_rd: OwnedFd, ledger: Arc<Mutex<LayoutLedger>>, )