code: function saveState () {
      winston.info('Saving current state');
      jsonfile.writeFileSync(STATE_FILE, {
          subscriptions: subscriptions,
          callback: callback,
          history: history,
          version: CURRENT_VERSION
      }, {
          spaces: 4
      });
  }
docs: Resubscribe on a periodic basis
  @method saveState