Add check for health timeout to shardCleanup test
When a node is leaving LocalDiscovery cluster, rerouting should be performed on the master node