Use a wire mesh or a metal screen to cover the container opening, ensuring that the dry ice does not come into direct contact with the fog machine components.