From Dev.to
ThreadPoolExecutor result(timeout=1) Left 4 Calls Running
future.result(timeout=1) raises TimeoutError after one second, but the thread keeps running the call to the end, and future.cancel() returns False because the work already started; if a tool call must...
