TEZ-879. Fix potential synchronization issues in runtime components.
(sseth)