autotool: reset old wield index (with proper wait)