md: only allow remove_and_add_spares when no sync_thread running.