Degree-based attacks are not optimal for desynchronization in general networks