Snakes do occasionally soak themselves, so he will be fine. It's normal.

You might want to look at your husbandry and check humidity levels in the enclosure, b/c he's probably looking for a moister environment. During a shed, humidity should be around 70%. Do you use a tub or a tank? How are you heating the enclosure?