ThriftTransportPool.getAnyCachedTransport was modified in #5775 to lookup
the resource group of the cached transport server and add it to the resulting set
if there was a match to the expected resource group. This lookup could be removed
if the resource group was available on the ThriftTransportKey.