Whether the WebSocket connection is closed.
@override @visibleForTesting bool get isClosed => _isClosed;