Check for other signs of stress such as hides no being secure, mites, and you could try putting in more decor unless you already have it cluttered quite a bit. I personally would not get rid of a fasting snake unless it had health problems I couldn't take care of myself and then I would make sure it went to a reputable breeder who could give it that care it needed. Fasting happens and it's best to just let the snake be and keep checking husbandry to make sure it is perfect. Do you notice him using the hot or cool side more than the other? Are you using a reliable temp gun or thermometer?
Sent from my SAMSUNG-SM-G891A using Tapatalk