For some reason one might want to set a timeout for establishing a connection or recognising a broken connection. ads.set_timeout does that (https://pyads.readthedocs.io/en/latest/pyads.html#pyads.ads.set_timeout) .. or should do that. Would be nice to implement this as a new parameter to Connection.__init__.