Hi,
in UCCE: check the Agent Desk Setting (in Configuration Manager) for the particular agent, "Ring no answer time".
In UCCX: check the Timeout parameter in the Select Resource step in your script.
Either way, the value on the UCCE/UCCX side must be lower than the Forward No Answer timeout in CUCM.
G.