UriRequestTask: Make the use of the handler result a bit more generic.