issue/96 Cleaning up some lock management
issue/96 Cleaning up some lock management

fulmicoton/tantivy,fulmicoton/tantivy,Fiedzia/tantivy,tantivy-search/tantivy,fulmicoton/tantivy,tantivy-search/tantivy,Fiedzia/tantivy