Fix:adapter is deteched in httpclient.