AMBARI-2095. It's possible to get into a state where install retry is not possible if the agent stops heartbeating. (jaimin via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1480835 13f79535-47bb-0310-9956-ffa450edef68