span class="n">sleep</span><span class="p">(</span><span class="n">SECS_PER_ATTEMPT</span><span class="p">)</span>
            <span class="k">except</span><span class="p">:</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">exception</span><span class="p">(</span>
                    <span class="s2">&quot;Unexpected exception while waiting for the Aggregator Service&quot;</span><span class="p">)</span>
           