German metals foundry shuts down plant