while (rs.next()) {
int nodeId = rs.getInt(1);
ifStmt.setInt(1, nodeId); // set nodeid
if (log().isDebugEnabled())
log().debug("loadKnownNodes: retrieved nodeid " + nodeId + ", now getting last poll time.");
<BUG>final DBUtils dbu = new DBUtils(getClass());
try {</BUG>
rset = ifStmt.executeQuery();
<BUG>dbu.watch(rs);
if (rset.next()) {</BUG>
Timestamp lastPolled = rset.getTimestamp(1);

while (rs.next()) {
int nodeId = rs.getInt(1);
ifStmt.setInt(1, nodeId); // set nodeid
if (log().isDebugEnabled())
log().debug("loadKnownNodes: retrieved nodeid " + nodeId + ", now getting last poll time.");
rset = ifStmt.executeQuery();
d.watch(rs);
if (rset.next()) {
Timestamp lastPolled = rset.getTimestamp(1);
