fixed crash when sending skRESTClient request while waiting for all requests to finish