fix bug where event thread is not interrupted
Merge branch 'next' of https://github.com/andrepuschmann/iris_core into next