bugfix: condition variable sleep on unrelated mutex
Merge pull request #7192 from kezhuw/bugfix_http_client

bugfix: condition variable sleep on unrelated mutex