local now handles manager shutdown; added an S3 configuration to avoid socket exceptions.