code: function handleError(note,needsReconnect) {
  			writer.logError({
  				src_id: streamConfig.src_id,
  				ts: Date.now(),
  				error: note
  			});
  	
  			if(needsReconnect) {
  				setTimeout(function() { doIoStream(streamConfig); }, 1000*streamConfig.error_wait_secs);
  			}
  		}
docs: we regard disconnection as an "error" for logging purposes, and a reconnect to be a "new connection". we use the "normal wait" time for the reconnection attempts that socket.io itself performs. when socket.io gives up after a few attempts, we use the "error wait" time before forcing a retry