hsa: fix http client error handling