Any advice on how to reorient your career into this maybe? :)
On the other side, there is no certainty in freelancing, programming will be just some part of your job and most of your time will be spent on trivial projects (unless you are very lucky).
I am 12 years into freelancing and it is good way to make living.