Allow max_queue and max_threads to be None