If you want to keep away from the headaches, keeping drinking some caffeine every day, but not as much. When (IF) you feel it coming on just grab a soda. It won't be to long until you can handle it without the withdrawals being a problem.
A Little Paranoia Will Keep You Safe (ALPWKYS) Be a Sheepdog JYD#105