Turns out deleting the tasks after 6 months only may not be enough for instances deploying only once a year, for instance. This reverts commit 77b65f3aa0.
77b65f3aa0