Losing data after Elasticsearch restart