s3:locking: add mark_share_mode_disconnected()