Zaslat záznam emailem: Social distancing and epidemic resurgence in agent-based susceptible-infectious-recovered models