title: 'stream.ReadTimeout' threw an exception of type 'System.InvalidOperationException' sending photo to telegram bot
body: <p>I wrote below code for sending a photo to my bot, but in my stream, I have two exceptions for read and write and my photo was not send.</p>
  
  <p>I think maybe the reason was this error, but I couldn't fix it:</p>
  
  <blockquote>
    <p><code>stream.ReadTimeout</code> threw an exception of type 'System.InvalidOperationException'</p>
  </blockquote>
  
  <pre><code>using (var stream = System.IO.File.Open("a.jpg", FileMode.Open))
  {
      var fileToSend = new FileToSend("a.jpg", stream);
      Task.Run(() =&gt; bot.SendPhotoAsync(u.Message.Chat.Id, fileToSend).ConfigureAwait(false));
  }
  </code></pre>