Cancel unmonitored tasks as well on shutdown