Cancel Publishing won't work

If there was an error during publishing and i press Cancel Publishing it shows Cancelling… and stops working.