Control of pollution emitted by foundries