shorten Thread name by removing query string

Services that require giant base64-encoded tokens be thrown around in the query string can make debugging threads painful when the URL isn't trimmed.
This should be `substrEnd == -1`.