Of course take the offer first. You said it is not easy to get a similar job.
靜聽海 is absolutely right on "工作中千萬別拿村長不當幹部!"
I reported to CIO too, and made the same mistake like you. My boss once said I am the one he frustrated the most among all his direct reports. This gave me a big warning and after that, I do exactly what he asked, and always put what he asked at the highest priority.
And it looks like that the higher your position, the higher risk that you wil be laid off.