We think we know the problem. It has to do with releasing the lock.