When I've had caffeine withdrawal, the insomnia went away after about a week.

Good luck! You're doing great!