WSDL Driver connection error / timeouts

Hello, I’m using the WSDLDriver to access a web service. It works very
well but, how can I set a timeout and handle connection / timeout
errors?

Thanks!