About ADODC connection!(編號:2896)

If the program running from 9:00 a.m to 3:p.m. each day, when it start running,it will connect to server by adodc to processing.
Question: How to connect the server until it is connected?
i.e.when it cannot connect the server, it will try again until the server is connected.
Thanks!