kill engine when index is open