Man who wandered away in extreme heat found