add additional checks
catch elasticsearch connection errors