Wait for sync after lock