Add a tweak to debug newdb locking issues