No, it's not that hard but I wanted to demonstrate a real use case and how to cancel a running process.
Maybe I can change my example:
 1. clean a temporary directory before the application is started, 
 1. then  watch the space left `watch df -h` and cancel the process when the application has been stopped.