Fix issue with storing task output + ttl for tasks default to 24hours