Try to put out the thermostat, if overheating stops it means you have air pocket in your cooling system, and most often the reason for that is broken gasket??? betwen head and block. And one more thing, in my country most of Subaru enthusiasts have renewed coolers, in some workshops they replace plastic parts with metal ones and you get the best cooler ever.