Added check for ReconnectingWebSocket