AMBARI-6978. Uncatched exception at ambari agent - it may die on connection error (dlysnichenko)