If the user closes calibre while connected to a wireless device, cleanly disconnect and flush the metadata cache.
Merge branch 'master' of https://github.com/cbhaley/calibre