if ($self->{times_round}++ < $self->{wait_this_many_times}) { return; # brake by counting loops }