Improve router re-registration task

Make it only commit the routes once.  This will save c. 3000 router reloads, and the corresponding logging mayhem.