Added barrier operation with delay.