diff --git a/lib/daemon/runner.js b/lib/daemon/runner.js
index <HASH>..<HASH> 100644
--- a/lib/daemon/runner.js
+++ b/lib/daemon/runner.js
@@ -22,7 +22,7 @@ function Runner(conf) {
     this.db_poll_stop = this._dbconn.listenTask(function(err, task) {
       if (err) {
         logger.debug("Runner: Error polling database:", err)
-        this.stop(1);
+        that.stop(1);
       }
 
       // check default controller on a best effort basis
Fixed undefined this error in runner