Wait for the synchronous replication of all the write commands sent in the context of the current connection