Robustness improvements in smart device driver

Instead of crashing, throw away the cache.