/span><span class="n">is_connected</span><span class="p">:</span>
            <span class="k">return</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">_is_connected</span><span class="o">.</span><span class="n">clear</span><span class="p">()</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">_data_available</span><span class="o">.</span><span class="n">set</span><span class="p">()</span>

        <span class="k">with</span> <span class="bp">s