Bug: exit control service fails when started with flask
When the app is started with the control service and the exited through CTRL + C
the app does not exit. Only with a second CTRL + C
the program stops and throws a exception:
Exception ignored in: <module 'threading' from '/usr/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1567, in _shutdown
lock.acquire()
KeyboardInterrupt: