Trap IOErrors as a normal condition.
Net::SSH will throw this if the connection is terminated by the remote host; in Veewee, this is used to chain together multiple postinstall scripts with reboots between them.
See this thread for more information: https://groups.google.com/d/topic/veewee/oacb_ko1pT0/discussion
Merge pull request #499 from juliandunn/trap-ioerror

Trap IOErrors as a normal condition.