Injectivity reduction in geothermal wells