Trying to disconnect websocket client when not active.