Fixed redis instance delete issue