public override bool OnStart() { // Set the maximum number of concurrent connections ServicePointManager.DefaultConnectionLimit = 12; queueService = new QueueService(); queueService.Initialize(); goodService = new GoodService(); goodService.Initialize(); return(base.OnStart()); }