Fixed the jetty plugin so that it does not System.exit() the main process any more. This should remove the problem with disapearing daemon. Details: -Jetty should never terminate the process; now the thread simply returns when stop was requested. -Some refactoring in the Monitor - removed some unnecessary code -Improved the test so that it detects the jetty System.exit() problem every time it runs. It also detects it if other executors are used, i.e. not only for the daemon one.