private static void Main(string[] args) { for (int i = 0; i < 100; i++) { using (var a = new RavenDB_1359()) { Console.WriteLine(i); a.IndexThatLoadAttachmentsShouldIndexAllDocuments(); } } }