Candoia, particularly the males, often do stop eating when it's breeding time. That's likely what yours is doing. Some of mine have gone off feeding for weeks but do eventually start again. Just keep offering food regularly and keep an eye on its weight to make sure its not becoming emaciated. If it is you may have a more serious problem and may need to assist feed.