mei: limit the number of consecutive resets