AMBARI-6847. After second canceling of background operation was opened error (Max Shepel via alexantonenko)