/// <summary>
 /// Complete the transactions.
 /// </summary>
 /// <param name="factory"></param>
 /// <param name="success"></param>
 private void CompleteTransaction(IConnectionFactory factory, bool success)
 {
     Counts.Complete(factory, success);
     Words.Complete(factory, success);
     WordsParts.Complete(factory, success);
     FilesWords.Complete(factory, success);
     Folders.Complete(factory, success);
     Query.Complete(factory, success);
 }