TEZ-1621. Should report error to AM before shuting down TezChild (Jeff Zhang via bikas)