calling self.cleanup to set job expiration