Inserted check for total free cpus