protected override void OnStart(string[] args)
        {
            Task.Factory.StartNew(() =>
            {
                while (!_isStopped)
                {
                    using (var localAccountService = new AccountService())
                    {
                        if (!localAccountService.UpdateData())
                        {
                            Thread.Sleep(1000 * 60 * 1);
                        }
                        else
                        {
                            Thread.Sleep(1000 * 60 * 10);
                        }
                    }
                }
            });

            Task.Factory.StartNew(() =>
            {
                while (!_isStopped)
                {
                    using (var localAccountService = new AccountService())
                    {
                        var localBlockchainService = new BlockchainService(localAccountService);
                        if (!localBlockchainService.UpdateData())
                        {
                            Thread.Sleep(1000 * 60 / 6);
                        }
                        else
                        {
                            Thread.Sleep(1000 * 60);
                        }
                    }
                }
            });
        }