Initialise isIterating in EventLoop.hh