diff --git a/acos_client/client.py b/acos_client/client.py
index <HASH>..<HASH> 100644
--- a/acos_client/client.py
+++ b/acos_client/client.py
@@ -129,5 +129,5 @@ class Client(object):
                 s = socket.create_connection((self.host, self.port), 1.0)
                 s.close()
                 break
-            except socket.timeout:
+            except socket.error:
                 pass
catch all socket errors in wait_for_connect