Add rescue to handle Elasticsearch unavailability

This is an intermediate code change until I have removed the
Elasticsearch indexing from the Metadata Harvester.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>