Fix HA related issues on Hyper-V