Don't allocate MAX_THREADS hash tables if not necessary