title: Periodic Timeout exception when I cancel OneDrive task that reads file information
body: <p>I use Microsoft Graph C# SDK for managing OneDrive files. My code works with storage in parallel way (max thread count &lt; 6). For canceling an operation that is not valid anymore (user closes window or browses to another folder), I use a <code>CancellationToken</code>.</p>
  
  <p>From time to time I receive a <code>Microsoft.Graph.ServiceException</code> with the the code <code>Error.Code = GraphErrorCode.Timeout</code> when canceled tasks. This should be <code>OperationCanceledException</code>.</p>
  
  <p>How to fix it?</p>
  
  <p>Code is trivial, so I think these is a bug in Microsoft Graph. <a href="https://stackoverflow.com/search?q=%5Bmicrosoft-graph%5D+timeout">There are a lot of similar questions on StackOverflow</a>.  </p>
  
  <p>SDK version is <code>1.7.0</code> (the same bug exists in <code>1.5.0</code> as well).</p>
  
  <p><strong>Update:</strong></p>
  
  <ul>
  <li>It was invalid assumption that this bug is tied with others similar questions in StackOverflow.</li>
  <li>I've create bug on <a href="https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/223" rel="nofollow noreferrer">MSGraph github</a>.</li>
  </ul>