apply idle thread count