Make it easier for users to run it in 2 hosts. plus clean up and pom fix.
examples: Do not call system.exit if example fails.