diff --git a/src/Portalum.Zvt/ZvtClient.cs b/src/Portalum.Zvt/ZvtClient.cs index cbea783..ad71951 100644 --- a/src/Portalum.Zvt/ZvtClient.cs +++ b/src/Portalum.Zvt/ZvtClient.cs @@ -239,7 +239,7 @@ private async Task SendCommandAsync( { using var timeoutCancellationTokenSource = new CancellationTokenSource(this._commandCompletionTimeout); using var dataReceivcedCancellationTokenSource = new CancellationTokenSource(); - using var linkedCancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, dataReceivcedCancellationTokenSource.Token); + using var linkedCancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, dataReceivcedCancellationTokenSource.Token, timeoutCancellationTokenSource.Token); var commandResponse = new CommandResponse {