remove per-document lock, it does not help improving performance