UserSocket.prototype = {
    add: function (socket) {
        const waiters = {};
        const self = this;
        for (const name in this.events) {