CDAP-875 update cluster metrics reporter to handle the case when

the resourcemanager is run in HA mode.
This should be within the try block. right?