Distributed: fixed issue with synchronization