I don't think that it should be in `else` branch of `this.sockets[name]` if statement.