Server now closes when everyone leaves