Improved ping analysis to be more accurate. Implemented instance state recovery after management failover