Set the agent to auto-answer ACD calls. That will lessen the chance of the call being transferred externally while waiting for the agent to pick up the call.
It is still a race condition, but much less likely to happen.
The other option is to staff more agents to cut down on the wait time. :-)
------------------------------
George Ganahl GCP (PureCloud) ICCE CCXP
Principal Technology Consultant
Genesys
------------------------------