Water recycling facility will treat industrial wastewater that will then be used for refinery heating and cooling