limit max tick thread count