This utility module removes all the tasks that older than a given time from 'queue' DB table.
Together with Ultimate Cron and its 'lease time' option it may help to mitigate running of non-idempotent queue tasks multiple times. To do so, set 'lease time' for the particular Queue Job (via Ultimate Cron interface) e.g. to 2 days and the Queue Cleaner timeout to 1 day. If cron is configured properly the queued task will not be fired more than once.