Hmm didn&#x27;t have much luck with: <a href="https:&#x2F;&#x2F;mikeanthonywild.com&#x2F;stopping-blocking-threads-in-python-using-gevent-sort-of.html" rel="nofollow">https:&#x2F;&#x2F;mikeanthonywild.com&#x2F;stopping-blocking-threads-in-pyt...</a><p><pre><code>    { 
        &quot;1&quot;:&quot;betterthreads provides an enhanced replacement for the an enhanced replacement for the python this isn&#x27;t actually a true thread instead it uses gevent to&quot;,
        &quot;2&quot;:&quot;the widely-accepted solution is to set a timeout on our blocking functions so we can periodically check a which we set from the main thread to indicate we want the child thread to stop&quot;,
        &quot;3&quot;:&quot;if the thread is still alive the when the *timeout* argument is not present or ``none`` the operation will block until the thread terminates&quot;,
        &quot;4&quot;:&quot;`runtimeerror` if an attempt is made to join the current thread as that would cause a deadlock&quot;,
        &quot;5&quot;:&quot;`join` a thread before it has been started and attempts to do so raises the same exception&quot;
    }
</code></pre>
That said, I think to summarise that particular would require a certain level of domain expertise, something which a general bot couldn&#x27;t provide.