 
     @parseVersion()
     @setupExpress() if httpd
+    @pingIntervalId = null
     @loadAdapter adapterPath, adapter
 
   # Public: Adds a Listener that attempts to match incoming messages based on


    if herokuUrl
      herokuUrl += '/' unless /\/$/.test herokuUrl
      setInterval =>
        HttpClient.create("#{herokuUrl}hubot/ping").post() (err, res, body) =>
          @logger.info 'keep alive ping!'
      , 1200000

  #
  # Returns nothing.
  shutdown: ->
    clearInterval @pingIntervalId if @pingIntervalId?
    @adapter.close()
    @brain.close()

