NXP-14325: Wait after setting permission using Document.SetACE to ensure transaction is commited (see NXP-10964)