Cold hat helps prevent stroke