Influenza outbreak control in confined settings