Better error handling in ESS and minor fixes

Lucene directories are not closed if the update process in ESS failes

Fixes a typeo in ESS that caused the dependent service feature to not
work.

Removes two log statement that were printed a bit to often.