Fix race condition in T0 block insert

Hi @YuyiGuo,

this patch fixes the Tier 0 block insert race condition. Could you review and merge once Dirk has confirmed it is working, please?

Thanks,
Manuel