ensure that index is closed after use
1 file changed