Added on-destroy for AbstractCache