removed the flush call in the url generator service

As explained in #858, the flush call in the URL generator service hurts reusability and is only useful when you need to get the URL generator before the handling of the request. As this use case is an edge case, and because it can be easily documented and explained, I propose to remove the call in 2.0.