Implement job expiration and reaping

ditto reindentation