After almost a dozen years spent writing almost as many technical books (some second editions), I wouldn't recommend taking forever with a technical book. It will be out of date by the time it comes out.
Every author has to figure out why they write. For me it was a business decision, and finally this year I'm making more from books than I was doing software.