One good information to have is how far the insertion is doing, so that we'll know whether to increase or decrease the timeout. You can get that by using the code below:

    var counter = await table.Take(0).IncludeTotalCount().ToListAsync();
    var totalCount = ((ITotalCountProvider)items).TotalCount;
    if (totalCount == allMovies.Movies.Length) {
        // ... insertion is finished ...
    } else {
        test.AddLog("Already inserted {0} items, waiting for insertion to complete", totalCount);
    }