fix: close writers after deleting element from index
Merge pull request #53 from p1tz/master

merge
Merge pull request #54 from mglusiuk/master

merge
fix a little style bug