Can you just remove the availableCpus parameter?  It doesn't look like it's used anymore