Change SQLite behaviour to block when objects are locked by
transactions. There is now a db connection per client, which
allows for more concurrency and resolves some issues.