fix: close writers after deleting element from index
Merge pull request #54 from mglusiuk/master

merge