fix lucene Lock on startup