All the API's should have a CancellationToken parameter to better control the lifecycle of the request.