Support for task expiry.