Add "keep_jobs" config to set the TTL of the objects in couchbase
Consolidate TTL into a single function