try {
final ClientResponse response = requester.issueRequest();
return response.getEntity(DatasetInfo.class);
} catch (LongRunningQueryException e) {
LongRunningQueryException lrqe = e.location != null ? e :
new LongRunningQueryException(UriBuilder.fromUri(importUri).queryParam("ticket", e.ticket).build(), e.timeToRetry, e.ticket);
LongRunningRequest<String, DatasetInfo> longRunningRequest = new LongRunningRequest(lrqe, DatasetInfo.class, requester);
HttpLowLevel http = getHttpLowLevel();
return longRunningRequest.checkStatus(http, http.getStatusCheckErrorRetries(), http.getStatusCheckErrorTime());
}
}