[PATCH OLK-6.6 52/57] md: fix stopping sync thread