eal: fix return codes on control thread failure