Trap process quit and termination

#### Feature:
This will trap process quit and termination.

#### Ticket:
[BUG: Clock in shows on the MyClock page but is missing on the roll call day](https://app.asana.com/0/8896856012327/8922265435356)

#### Task List:
- [x] CI Passing
- [ ] Review Done
- [ ] Merge
- [ ] Delete Branch
- [ ] Move ticket in Asana