There appears to be a statistically significant association between septicemia and a subsequent increased risk of developing dementia (of the non-Alzheimer’s Disease varieties).
Chou, CH. Lee, JT. [and] Lin, CC. [et al] (2017). Septicemia is associated with increased risk for dementia: a population-based longitudinal study. Oncotarget. September 15th 2017; 8(48): 84300-84308.