throw better error when failing to cleanup processes

- removes double cleanup call
- throws better error message when failing to clean up a process