Add a shutdown hook to gracefully terminate on ctrl+c

I think that it's better to call `Pippo.stop()`. 
Also I don't think that `getServer()` method is the right place to add this shutdown hook. Maybe the constructor or `start()` it's a better place.