yield on lock release fixed a lot of problems