Fix race condition in T0 block insert
Merge pull request #277 from giffels/dbs3-block-insert-fix

Fix race condition in T0 block insert