How do pandemics end? Two decades of recurrent outbreak risk following the main waves