code: function(message){
  							if (!message) // the message is already gone
  								return cb();
  							var objDeviceMessage = JSON.parse(message);
  							//if (objDeviceMessage.to !== row.to)
  							//    throw "to mismatch";
  							console.log('sending stalled '+row.message_hash);
  							sendPreparedMessageToHub(row.hub, row.pubkey, row.message_hash, objDeviceMessage, {ifOk: cb, ifError: function(err){ cb(); }});
  						}
docs: throw Error("no hub in resendStalledMessages: "+JSON.stringify(row));