Fixes issue with high concurrent read/writing with an index already closed exception