code: function () {
  			if (queue.length > 0) {
  				if (queue.length % 500 === 0)
  					LOG.warn('socketio queue: ' + queue.length);
  				
  				var item = queue.shift();
  				socket.busy = true;
  				socket.emit('SRR', item);
  			}
  		}
docs: check if message queue has something to send