This allows all threads accessing the same database to share sqlite objects. This, for example, fixes the issue with several threads simultaneously writing to the same database file. See https://www.sqlite.org/sharedcache.html Addresses BIT-1325