AMBARI-2195. Ambari has a deadlock when re-installing after reboot of cluster nodes. (Myroslav Papirkovskyy via smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/branch-1.2.4@1489556 13f79535-47bb-0310-9956-ffa450edef68