fix: lock recorder for MT safe