Installed a five-second SQLite busy timeout before the read-only usage query and covered lock contention with a subprocess-backed regression test. Fixes #7300