lass="n">time_passed_since_last_rpc</span> <span class="o">=</span> <span class="mi">0</span>
        <span class="n">timestamp_of_last_rpc</span> <span class="o">=</span> <span class="mi">0</span>

        <span class="c1"># Ensure that KeyboardInterrupt is raised on a SIGINT.</span>
        <span class="n">signal</span><span class="o">.</span><span class="n">signal</span><span class="p">(</span><span class="n">signal</span><span class="o">.</span><span class="n">SIGINT</span><span class="p">,</span> <span