Clean dead code in UrlMap::terminate() method