How to gracefully handle pci remove