Complete or delete workflows after x days that hasn't been claimed


I want to be able to delete or complete/deny (any operation) a workflow when no user has claimed that task for a certain number of days.

Can this be done without modifing the approval timeout of the workflow? 

I'm using UserApplication 4.6 


Any idea will be appreciated.

Thanks in advance.