Update DedicatedServer.java

I do this because I want to prevent System.exit() with my wrapping plugin. My application would throw a security exception which in turn would cancel the System.exit