limit threads to 20