Synchronize when begin of container expression is used