NotificationSocket.prototype.error = function(err) {
    logger.error(err, 'NotificationSocket: Client connection error');

    this.unsubscribe(this.getTopic());
};