title: Is it safe to use Task.Delay for a delay of 24 houers
body: <p>Is it safe to use <code>Task.Delay()</code> for a delay of 24 houers in a loop to run code every day?
  My code is:</p>
  
  <pre class="lang-cs prettyprint-override"><code>while (!token.IsCancellationRequested) 
  {
      await Task.Delay(TimeSpan.FromDays(1), token);
      await DoStuff(token);
  }
  </code></pre>
  
  <p>Is it safe to use <code>Task.Delay()</code> in that fashion?</p>