[PATCH OLK-6.6 49/55] md: fix stopping sync thread