- Fix timeout in loop (was missing reset variable)