just get # of cores from runtime for rest client