Checks if the connection is closed
@override bool get isClosed => _disposed || currentState == WebSocketState.disconnected;