AMBARI-6351 Remove synchronous calls with commands to server. (Max Shepel via atkach)