why not move it inside `try`:
```
if finished is not None and finished + self._garbage_lifetime > time.time():
    self._remove_control(lock, job_id)
```
?