The driver allows you to impose limits on the duration of active sessions through the use of the EnableCancelTimeout and QueryTimeout connection properties. With the LoginTimeout connection property, you can specify how long the driver waits for a connection to be established before timing out the connection request.