nice, simple solution. I kind of wish ZF would’ve been smart enough to catch the ‘Server has gone away’ exception… anyway, thanks! this should work well for my simple little CLI apps.

Cheers,
Darryl