Host resistance to bacterial infection varies over time, but is not affected by a previous pathogen exposure