Display error instead of exception when elastic search connection is down.