code: function remove() {
      primus.removeListener('error', remove)
            .removeListener('open', remove)
            .removeListener('end', remove)
            .timers.clear('connect');
    }
docs: Remove all references to the timeout listener as we've received an event
  that can be used to determine state.
  
  @api private