diff --git a/src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientHandler.java b/src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientHandler.java
+++ b/src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientHandler.java
@@ -62,7 +62,7 @@ public class WebSocketClientHandler extends SimpleChannelUpstreamHandler impleme
     }
 
     @Override
-    public void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
+    public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
         callback.onDisconnect(this);
         handshakeCompleted = false;
     }
Changed to dispatch onDisconnect() callback on channelClosed instead of channelDisconnect. Was causing erroneous behavior when doing tight disconnects/connects.