Ghosts can be deleted when replication stream resets, so need to handle closed index case.
When required, use a full transaction instance with auto-commit.