index-mode: lock @mutex while syncing message