Remove db_mutex and rely on sqlite being threadsafe.