removed hardcode limit for new threads