fix maven runner and System.exit protection