build system integration test were failing, by being stuck on this call.
settings is executed during pre-app, which run after svoperapps.
svoperapps is already using processEvent and so process all lasting events,
so that, in settings, here, there is no more event to wait for and the call to thread.processNextEvent block and never release.
I think there isn't much value in waiting for events right here. Also I think the implementation of processEvents is wrong, we shouls be using `while () {}` instead of `do{} while()`!