[OE-4172] Fix RTT locking.