Inside Mi Flash Tool (bottom right corner), you will see two checkboxes:
For EDL-specific timeouts
Ensure your phone has at least 50% charge . A low battery can cause the connection to drop mid-flash. 3. Path and File Naming mi flash tool timeout error top