o">=</span> <span class="mi">0</span>

        <span class="k">while</span> <span class="bp">self</span><span class="o">.</span><span class="n">aggregator_client</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">and</span> <span class="n">num_attempts</span> <span class="o">&lt;</span> <span class="n">MAX_ATTEMPTS</span><span class="p">:</span>
            <span class="n">num_attempts</span> <span class="o">+=</span> <span class="mi">1</span>
            <span class="k">try</sp