code: function cleanUp() {
      if (done) return
      done = true
  
      wsConn.removeListener("message", onMessage)
      wsConn.removeListener("close",   onClose)
      wsConn.removeListener("error",   onError)
    }
docs: -----------------------------------