Improve the CoffeeMachine example
Correctly close the PainTextReporter