You may need to verify who is the Until activity configuration is done the exit criteria are correctly set. You can enable detailed logging and monitoring to identify where delays occur and verify that inner activities are optimized.
Investigate the performance of the external REST APIs, as they might be causing the delays.
Review the timeout settings for the Until activity and consider breaking down the process into smaller, more manageable chunks.
If the problem persists, contact Microsoft support for further assistance.