EventSocket.prototype.error = function(err) {
    logger.error(err, '%s: Client connection error', this.name);
    this.unsubscribe(null);
};