Shutdown hook removed from Server.start() because it was stopping server when using start goal and because it is already used in run goal.