Implement job expiration and reaping

Indent here is off