Fixed race condition in HLTControlFlowMgr
In case very few events were processed, there was a possibility to exit the application without actually executing any. This was happening if the events were pushed to the task_arena of TBB but no thread was started yet before we exited.