Add waiting for a sigint to the simple example