340 wont idle

1st you have to find out what is happening when it dies. Does it lose spark or fuel? Chances are timing isn't goin to change after 30 seconds & cause it to stall. How well does it run at idle before it dies? You're gonna have to do some diagnosis or at least the prelimenary checks 1st before we can be of much help.

No timing won't change but the cylinders can start puddling fuel that they can't burn and it will die at idle if the initial timing is not where the motor likes it.

30 seconds is plenty of time for all this to take place.