Woah, I've been away for too long, when the heck did Robert Jordan die?

Funnily enough when I first started reading this series 9 years ago I read about how old he was and I thought "I hope he doesn't die before he finishes" and now he has, just before the last book. Does this explain the previous half-baked book, he was racing to finish it all before he departed?