use of any_of when we wait for many events. It is faster
two dump changes. Checked and it is logical (events that happen in the same simulation time. It is random which arrives first)