To slow down the spread of infectious diseases and avoid overburdening healthcare systems, particularly during a pandemic, several social-distancing measures are used, including the closing of schools and workplaces, isolation, quarantine, restricting the movement of people and the cancellation of mass gatherings.