Make the software choose close by IPs first, these will be the fastest, the ones on your local ISP.
The user would supply a list of IP ranges that are within his ISP and the program would tend to pick those addresses first when starting a connection.
This would also lower the load on ISP's fiber connection.
User selectable option, some people don't trust their ISP.