The driver includes the LoginTimeout connection property. This property allows you to specify the amount of time the driver waits for a connection to be established before timing out the connection request. See "Using Connection Properties" and "LoginTimeout" for details.