if (nodes == null) return;
DBPool pool = DBPool.getPool();
DBConnection c = pool.getConnection();
try {
writeMessage(msg,node,nodes,c);
c.commit();
} catch (java.sql.SQLNonTransientConnectionException se) {
log.info("connection error in write. retrying in 30 sec: " + node);
// sleep 30 sec and retry
try {
Thread.sleep(30000);