private static void StartComponentHost(IComponentHost componentHost, ILogger logger, CancellationTokenSource cancellationTokenSource)
 {
     
     componentHost.Start(new StaticComponentHostConfigurationProvider(new List<ComponentConfiguration>
     {
         new ComponentConfiguration
         {
             ComponentIdentity = AccidentalFish.ApplicationSupport.Processes.HostableComponentIdentities.LogQueueProcessor,
             Instances = 1,
             RestartEvaluator = (ex, retryCount) => RestartHandler(ex, retryCount, logger, AccidentalFish.ApplicationSupport.Processes.HostableComponentIdentities.LogQueueProcessor).Result
         }
     }), cancellationTokenSource);
 }