Obey --max-forks in switch statements