public void StartFolderScanAsync() { var policy = PolicyHelper.CreateSqlPolicy(_logger, 3); policy.Execute(ScanFolder); }