If the corrosion is in the socket, you might be able to clean/tighten the contacts and use silicone grease to preserve it.