_timesToRepeat was an uint while we set it sometimes to -1