 It can be solved by valve cooling systems that use water or oil as a coolant.In high performance or turbo charged engines sometimes sodium-filled valve stems are used.These valve stems then act as a heat pipe.