Implement job expiration and reaping

can this just be exit (that is, without the 1 as suffix)?