code: function (options) {                                                                                // 165
      var self = this;                                                                                              // 166
      options = options || {};                                                                                      // 167
                                                                                                                    // 168
      // Failed is permanent. If we're failed, don't let people go back                                             // 169
      // online by calling 'disconnect' then 'reconnect'.                                                           // 170
      if (self._forcedToDisconnect)                                                                                 // 171
        return;                                                                                                     // 172
                                                                                                                    // 173
      // If _permanent is set, permanently disconnect a stream. Once a stream                                       // 174
      // is forced to disconnect, it can never reconnect. This is for                                               // 175
      // error cases such as ddp version mismatch, where trying again                                               // 176
      // won't fix the problem.                                                                                     // 177
      if (options._permanent) {                                                                                     // 178
        self._forcedToDisconnect = true;                                                                            // 179
      }                                                                                                             // 180
                                                                                                                    // 181
      self._cleanup();                                                                                              // 182
      self._retry.clear();                                                                                          // 183
                                                                                                                    // 184
      self.currentStatus = {                                                                                        // 185
        status: (options._permanent ? "failed" : "offline"),                                                        // 186
        connected: false,                                                                                           // 187
        retryCount: 0                                                                                               // 188
      };                                                                                                            // 189
                                                                                                                    // 190
      if (options._permanent && options._error)                                                                     // 191
        self.currentStatus.reason = options._error;                                                                 // 192
                                                                                                                    // 193
      self.statusChanged();                                                                                         // 194
    }
docs: 163 164