rfh, wfh = connect_to_vend(options, config_opts)
except (LATClientException, socket.error), e:
(exc_type, exc_value, exc_traceback) = sys.exc_info()
+ del exc_traceback
print
print "Connection error: "+str(exc_type)+" "+str(e)
print "Trying again in 5 seconds."