public async Task StopOnError(Exception exception) { IsStopped = true; await Try.Do(() => _jobHandler.Finish(exception), e => _logger.Error("Can't finish the work: {0} {1}", Environment.NewLine, e)); }