[sr-dev] git:4.4:9812a49f: http_async_client: fix memory leak in pkg memory in case of error