(change:minor) Apply new CPU share only if it is a finite number (i.e, is not inf and NaN)