stop after time period, reset logic