A simple example of the functions to stop and resume a process.