In the TaskHttpRequest there is a "~TaskHttpRequest()" which deletes the created httpClient after it was used.
I add this log from the application maybe it will help you to see the flow.
07-06 13:31:04.903 whoison@development01-199.de TaskHttpRequest::TaskHttpRequest: address='https://graph.microsoft.com' query='/v1.0/users?$top=10'
07-06 13:31:04.903 whoison@development01-199.de TaskGetTeamsUsers::TaskGetTeamsUsers
07-06 13:31:04.903 whoison@development01-199.de TaskHttpRequest::SetBearerToken: token=eyJ0eXAiOiJKV1QiLCJub25jZSI6IlBPQVc3LTBlQW9GWXExNXdIdHhq
07-06 13:31:04.903 whoison@development01-199.de TeamsUsersInit::TeamsUsersInit
07-06 13:31:04.903 whoison@development01-199.de TeamsUsersInit::Start
07-06 13:31:04.903 whoison@development01-199.de TaskGetTeamsUsers::Start
07-06 13:31:04.903 whoison@development01-199.de TaskHttpRequest::Start
07-06 13:31:04.904 whoison@development01-199.de TaskHttpRequest::~TaskHttpRequest
07-06 13:31:04.933 whoison@development01-199.de TaskHttpRequest::HTTPClientConnectComplete
07-06 13:31:05.051 whoison@development01-199.de TaskHttpRequest::HTTPClientSendResult
07-06 13:31:05.052 whoison@development01-199.de TaskHttpRequest::HTTPClientRequestComplete
07-06 13:31:05.052 whoison@development01-199.de TaskHttpRequest::HTTPClientRecvResult
07-06 13:31:05.053 whoison@development01-199.de TaskHttpRequest::HTTPClientRecvResult
07-06 13:31:05.053 whoison@development01-199.de TaskHttpRequest::HTTPClientRecvResult
07-06 13:31:05.054 whoison@development01-199.de TaskHttpRequest::HTTPClientRecvResult
07-06 13:31:05.054 whoison@development01-199.de TaskHttpRequest::HTTPClientShutdown http_shutdown_reason=0 payload={"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users","@odata.nextLink":"https://graph.microsoft.com/v1.0/users?$top=10&$skiptoken=X%27445370740200010F736F66742E636F6D29557365725F36666130363962352D333436322D343731642D393730652D666630306462646535396434B900000000000000000000%27","value":[]}
07-06 13:31:05.055 whoison@development01-199.de TaskGetTeamsUsers::TaskComplete
07-06 13:31:05.055 whoison@development01-199.de TaskGetTeamsUsers::ParseTeamsUsers
07-06 13:31:05.055 whoison@development01-199.de TaskGetTeamsUsers::TaskProgress
07-06 13:31:05.055 whoison@development01-199.de TaskGetTeamsUsers:: progress - 0
07-06 13:31:05.055 whoison@development01-199.de TaskHttpRequest::TaskHttpRequest: address='https://graph.microsoft.com' query='/v1.0/users?$top=10&$skiptoken=X%2744537074020001000F736F66742E636F6D29557365725F36666130363962352D333436322D343731642D393730652D666630306462646535396434B900000000000000000000%27'
07-06 13:31:05.055 whoison@development01-199.de TaskHttpRequest::SetBearerToken: token=eyJ0eXAiOiJKV1QiLCJub25jZSI6IlBPQVc3LTBlQW9GWXExNXdIdHhqMGFldzRleGlq
07-06 13:31:05.055 whoison@development01-199.de TaskHttpRequest::Start
07-06 13:31:05.056 whoison@development01-199.de TaskHttpRequest::~TaskHttpRequest
07-06 13:31:05.056 ASSERT: Dns::~Dns responseCounter not 0, wait for DnsGetHostByNameResult missing? (~Dns:105)
In the end I get a Segmentation fault. This happens in this part of the log.
07-06 13:31:05.056 whoison@development01-199.de TaskHttpRequest::~TaskHttpRequest
Right after the the new request for the next entries is send. To test this I have changed it so that we will only get 10 users from the graph api.