add code to deal with case where probe for nslots is broken. sets total slots to be same as num of running jobs