Bug 1016831 - make sure the shared, readonly-db-connection is closed on shutdown. r=mak, brain=yorik