Revert "Default to infinite stack size (#8189)"