Add explicit locking to the high-level API