fixed maxcostomerthreads