You can create timers dynamically which can call a function also created dynamically.

Code:
var timers = [];
...
timers[timers.length] = setTimeout(function() {
  // now remove the table row
}, 10000);