diff --git a/engineio/client.py b/engineio/client.py
index <HASH>..<HASH> 100644
--- a/engineio/client.py
+++ b/engineio/client.py
@@ -528,7 +528,7 @@ class Client(object):
                 self.logger.info(
                     'PONG response has not been received, aborting')
                 if self.ws:
-                    self.ws.shutdown()
+                    self.ws.close(timeout=0)
                 self.queue.put(None)
                 break
             self.pong_received = False
diff --git a/tests/common/test_client.py b/tests/common/test_client.py
index <HASH>..<HASH> 100644
--- a/tests/common/test_client.py
+++ b/tests/common/test_client.py
@@ -839,7 +839,7 @@ class TestClient(unittest.TestCase):
         c._ping_loop()
         self.assertEqual(c.state, 'connected')
         c.queue.put.assert_called_once_with(None)
-        c.ws.shutdown.assert_called_once_with()
+        c.ws.close.assert_called_once_with(timeout=0)
 
     def test_read_loop_polling_disconnected(self):
         c = client.Client()
Missing timeout when closing websocket connection (Fixes #<I>)