EventLoop Worker: Fix a corner case with empty files
In a very specific case tools and algs would not get initialised in EventLoop:
- max events is set
- file is empty
This MR fixes this.
In a very specific case tools and algs would not get initialised in EventLoop:
This MR fixes this.