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

@api private
Remove all references to the timeout listener as we ve received an event that can be used to determine state .