implement synchronize (analog of @awaiting but on $root)