Description
The following code in runner.py:collect_update() may result in an infinite while loop when the provided timeout is passed as 0:
while True: ... if timeout and total_time >= timeout: break ...
We have observed a case when the thermos runner gets stuck in a "deadlocked" state not reacting to SIGTERM with the last message in _main_.log as:
D0827 15:35:26.022495 30886 runner.py:856] Run loop: Work to be done within 0.0s