title: Timeout in IO operation
body: <p>I was using a query which pulled back a large amount of populated navigation properties. Essentially it looked like this:</p>
  
  <pre><code>using( var context = new MyApplicationContext() )
  {
      DbSet&lt;BaseTable&gt; dbSet = context.Set&lt;BaseTable&gt;();
      IQueryable&lt;BaseTable&gt; query = dbSet;
  
      query = query.Include(entity =&gt; entity.T.C);
      query = query.Include(entity =&gt; entity.TC.Select(tc =&gt; tc.T.M));
      query = query.Include(entity =&gt; entity.TC);
      query = query.Include(entity =&gt; entity.W.FW.F.S);
      query = query.Include(entity =&gt; entity.W.FW.P);
      query = query.Include(entity =&gt; entity.W.PL.P);
      query = query.Include(entity =&gt; entity.W.PL);
      query = query.Include(entity =&gt; entity.W.E);
      query = query.Include(entity =&gt; entity.E);
  
      query = query.Where( set of conditions );
  
      List&lt;BaseTable&gt; Loaded = query.ToList();
  }
  </code></pre>
  
  <p>However, running this code produced an error  </p>
  
  <blockquote>
    <p><strong>Timeout in IO operation</strong><br>
    [TimeoutException: Timeout in IO operation]
       MySql.Data.MySqlClient.TimedStream.StopTimer() +168<br>
       MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count) +148<br>
       System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count) +262<br>
       MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count) +86<br>
       MySql.Data.MySqlClient.MySqlStream.LoadPacket() +110<br>
       MySql.Data.MySqlClient.MySqlStream.ReadPacket() +59<br>
       MySql.Data.MySqlClient.NativeDriver.GetResult(Int32&amp; affectedRow, Int64&amp; insertedId) +100<br>
       MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32&amp; affectedRows, Int64&amp; insertedId) +54<br>
       MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) +145<br>
       MySql.Data.MySqlClient.MySqlDataReader.NextResult() +524<br>
       MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1939  </p>
  </blockquote>
  
  <p>How can I allow this query to have enough time to load?</p>