cec: fixed - wait for ack while keeping a lock