[WIP] Handle docker and fig build cancellations

If a build is cancelled things aren't cleaned up properly. This fixes that.

- [x] Add exit handlers
- [x] Stable
- [ ] Figure out if we want to kill the base image each time