How to cancel the installation of a faulty Script?

Is there a proper way to cancel this stuck operation without rebooting or logging out ? I don’t see any cancel button, and it persists even if I reopen it.