docs: 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);
  			}
  		}