Reset cycle counter when stepping out